package com.book.travel.controller;

import com.book.common.controller.BaseController;
import com.book.common.utils.FebsUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/travel")
public class TravelController extends BaseController {
    @GetMapping("/")
    public String breReturnIndex() {
        return FebsUtil.view("/travel/welcome");
    }

    @GetMapping("/planTrip")
    public String goToPlanTrip() {
        return FebsUtil.view("travel/planTrip");
    }

    @GetMapping("/commerce")
    public String goToCommerce() {
        return FebsUtil.view("travel/commerce");
    }

    @GetMapping("/travelTopic")
    public String goToTravelTopic() {
        return FebsUtil.view("travel/travelTopic");
    }

    @GetMapping("/vr")
    public String goToVr() {
        return FebsUtil.view("travel/vr");
    }

    @GetMapping("/suggestion")
    public String goToSuggestion() {
        return FebsUtil.view("travel/suggestion");
    }

    @GetMapping("/stat")
    public String goToStat() {
        return FebsUtil.view("travel/stat");
    }
}
